ExamPlay Light Logo
Prihlásiť sa

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 4 - No. 5)

What is the role of an 'index' in an array used in a FOR loop?
To store the data being entered.
To control the number of iterations.
To indicate the position of an item in the array.
To perform calculations on the data.

Vysvetlenie

The index points to the location of the array element that is being accessed during the loop.

Pripomienky (0)

Ak chcete komentovať, prihláste sa
Reklama
BrainBehindX Inc Logo
©2026; Beží na BrainBehindX Inc